package md.mru.frontend.utils;

import org.primefaces.model.TreeNode;

/**
 * @author sergiu.marin
 * @since 16.04.2014.
 */
public class TreeNodeSiblings {

    private TreeNode prev;
    private TreeNode next;

    public TreeNodeSiblings(TreeNode prev, TreeNode next) {
        this.prev = prev;
        this.next = next;
    }

    public TreeNode getPrev() {
        return prev;
    }

    public TreeNode getNext() {
        return next;
    }
}
